package com.sti.platform.model;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.aisino.core.model.BaseModel;
import com.sti.platform.util.excel.ExcelAttribute;

@Entity
@Table(name = "sys_expert")
public class Expert extends BaseModel{
	private static final long serialVersionUID = 2807378666600135370L;
	
	@Id
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid")
	private String id;
	@Column(name="name")
	@ExcelAttribute(name = "账号")
	private String name;
	@Column(name="password")
	private String password;
	@Column(name="real_name")
	@ExcelAttribute(name = "用户名")
	private String realName;
	@Column(name="sex")
	private Integer sex;
	@Column(name="IDcard")
	@ExcelAttribute(name = "身份证号")
	private String IDcard;
	@Column(name="email")
	@ExcelAttribute(name = "邮箱")
	private String email;
	@Column(name="company_id")
	private String companyId;
	@Column(name="recom_com_id")
	private String recom_com_id;
	@Column(name="address")
	@ExcelAttribute(name = "家庭住址")
	private String address;
	@Column(name="phone")
	@ExcelAttribute(name = "联系电话")
	private String phone;
	@Column(name="position_id")
	private String position_id;
	@Column(name="degree_id")
	private String degree_id;
	@Column(name="major_id")
	private String major_id;
	@Column(name="status")
	private Integer status;
	@Column(name="cjr")
	private String cjr;
	@Column(name="cjrId")
	private String cjrId;
	@Column(name="cjsj")
	private String cjsj;
	@Column(name="xgr")
	private String xgr;
	@Column(name="xgrId")
	private String xgrId;
	@Column(name="xgsj")
	private String xgsj;
	
	@Transient
	@ExcelAttribute(name = "工作单位")
	private String company;
	@Transient
	@ExcelAttribute(name = "推荐单位")
	private String recom_com;
	@Transient
	@ExcelAttribute(name = "职称")
	private String position;
	@Transient
	@ExcelAttribute(name = "学历")
	private String degree;
	@Transient
	@ExcelAttribute(name = "专业")
	private String major;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getIDcard() {
		return IDcard;
	}
	public void setIDcard(String iDcard) {
		IDcard = iDcard;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public String getRecom_com_id() {
		return recom_com_id;
	}
	public void setRecom_com_id(String recom_com_id) {
		this.recom_com_id = recom_com_id;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPosition_id() {
		return position_id;
	}
	public void setPosition_id(String position_id) {
		this.position_id = position_id;
	}
	public String getDegree_id() {
		return degree_id;
	}
	public void setDegree_id(String degree_id) {
		this.degree_id = degree_id;
	}
	public String getMajor_id() {
		return major_id;
	}
	public void setMajor_id(String major_id) {
		this.major_id = major_id;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getCjr() {
		return cjr;
	}
	public void setCjr(String cjr) {
		this.cjr = cjr;
	}
	public String getCjrId() {
		return cjrId;
	}
	public void setCjrId(String cjrId) {
		this.cjrId = cjrId;
	}
	public String getCjsj() {
		return cjsj;
	}
	public void setCjsj(String cjsj) {
		this.cjsj = cjsj;
	}
	public String getXgr() {
		return xgr;
	}
	public void setXgr(String xgr) {
		this.xgr = xgr;
	}
	public String getXgrId() {
		return xgrId;
	}
	public void setXgrId(String xgrId) {
		this.xgrId = xgrId;
	}
	public String getXgsj() {
		return xgsj;
	}
	public void setXgsj(String xgsj) {
		this.xgsj = xgsj;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getRecom_com() {
		return recom_com;
	}
	public void setRecom_com(String recom_com) {
		this.recom_com = recom_com;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}

}
